package com.imufe.chemicalenterprisedangerwarning.entity.vo;

import com.imufe.chemicalenterprisedangerwarning.annotation.ExistId;
import com.imufe.chemicalenterprisedangerwarning.mapper.EnterpriseMapper;
import com.imufe.chemicalenterprisedangerwarning.mapper.InspectionMethodMapper;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.catalina.User;

import java.time.LocalDateTime;

/**
 * @author BaiBan
 * @since 2022/10/12
 */
@ApiModel("检查表详细信息")
@Data
public class CheckDetailedVO {

    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("检查时间")
    private LocalDateTime createTime;

    @ApiModelProperty("检查机构")
    private String organization;

    @ApiModelProperty("检查人")
    private UserDetailedVO user;

    @ApiModelProperty("检查形式")
    private InspectionMethodVO inspectionMethod;

    @ApiModelProperty("被检查企业")
    private EnterpriseVO enterprise;

    @ApiModelProperty("总分; 10000分为上限")
    private Integer totalScore;

    @ApiModelProperty("游标;暂存记录时记录到第几项;游标为空表示全部完成")
    private Integer cursor;

    // TODO 还要添加检查的具体内容
}